<?php
class Site extends Controller {
	function Site(){
		parent::Controller();
		$this->load->helper(array('url','function','common'));
 		$this->load->scaffolding('mc_news');
 		//调用前台公用Model
 		$this->load->model('Mhome');
	}
		
	//代练流程
	function proceed(){
		load_view("proceed",$this->data());		
	}

	//玩家协议
	function protocol(){
		load_view("protocol",$this->data());		
	}

	//联系我们
	function contact(){
		load_view("contact",$this->data());		
	}

	//常见问题
	function faq(){
		load_view("faq",$this->data());		
	}

	//关于我们
	function about(){
		load_view("about",$this->data());		
	}


	function data(){
		/*--------------------------------左侧部分【left】---------------------------------*/
		$data['lastes_news']=$this->Mhome->lastes_news($num=8);
		$data['banks']=$this->Mhome->banks();
		$data['flag']=NULL;
		return $data;
	}

}//end C_proceed
/* End of file home.php */
/* Location: ./system/application/controllers/proceed.php */